package com.google.code.p.restrpc.directory;

import com.google.code.p.restrpc.event.RpcEventObject;

public class NodeEventObject extends RpcEventObject {
    
    private boolean previous;
    
    private boolean current;
    
    public NodeEventObject(Object source, boolean previous, boolean current) {
        super(source);
        this.previous = previous;
        this.current = current;
    }
    
    public boolean getPreviousValue() {
        return previous;
    }
    
    public boolean getCurrentValue() {
        return current;
    }
    
}
